package com.scs.application.modules.fsd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.BaseEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityIndexAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "智能柜-库存表")
@TableName("fsd_stock")
@EntityIndexAnnotation(ix={"station_code, rfid"})
public class FsdStock extends BaseEntity {

    @EntityFieldAnnotation(
            text = "站点编号",
            length = "20",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String stationCode;

    @EntityFieldAnnotation(
            text = "rfid",
            length = "30",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String rfid;

    @EntityFieldAnnotation(
            text = "柜子编号",
            length = "10",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String chestNo;


}
